/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Test;

import Model.Beans.Book;
import Model.Servicios.BookSrv;
import Model.Utilities.Constantes.BookState;
import java.util.Set;

/**
 *
 * @author Manuel Lap
 */
public class BookTest {
    
    public static void main(String args[]){
        
        
        
        Book book = new Book();
        book.setAuthor("Manuel");
        book.setEditorial("editorial");
        book.setIsbn("isbn");
        book.setName("Libro de manuel");
        book.setPath("manuel.doc");
        book.setStatus(BookState.APROBADO);
        book.setTags(null);
        book.setUser(null);
        book.setYear(Integer.SIZE);
        
        BookSrv serv = new BookSrv();
        serv.addBook(book);
    }
    
}
